package cn.fsw.pethome.pet.service;

import cn.fsw.pethome.base.service.IBaseService;
import cn.fsw.pethome.org.domain.Employee;
import cn.fsw.pethome.pet.domain.Pet;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fsw
 * @since 2022-10-23
 */
public interface IPetService extends IBaseService<Pet> {
    void add(Pet pet, Employee loginUser);

    void update(Pet pet, Employee employee);

    void offsale(List<Long> ids);

    Map<String,Object> onsale(List<Long> ids);

    Pet selectByShopAndDetail(Long id);
}
